<?php
echo '<html><head>	<link rel="stylesheet" type="text/css" href="_response/bin.php?get=default.css" />
	<link rel="stylesheet" type="text/css" href="_response/bin.php?get=print.css" />
	<link rel="stylesheet" type="text/css" href="_response/bin.php?get=navig.css" />
	<link rel="stylesheet" type="text/css" href="_response/bin.php?get=calendar.css" /></head><body>';
if (!isset($_GET['Target'])) {
    $_GET['Target'] = '';
}
//=====================Invoice Form=========================
include('senderdocument.php');

//=====================Invoice Form=========================
form_pr('UPFile', '', $_SERVER['PHP_SELF'], 'post" enctype="multipart/form-data');
mn_field('hidden', 'ED', 'ID', $_GET['ID'], '', '', 'False', '');
if (isset($_GET['RNF'])) {
    mn_field('hidden', 'ED', 'RNF', $_GET['RNF'], '', '', 'False', '');
}
mn_field('hidden', 'ED', 'CID', $_GET['CID'], '', '', 'False', '');
mn_field('hidden', 'ED', 'Target', $_GET['Target'], '', '', 'False', '');
?>
<style type="text/css">
    <!--
    body {
        background-color: #F5F5EF;
    }
    -->
</style>
<div id="File_Form">
    <table width="400"  border="0" cellpadding="1" cellspacing="1" bgcolor="#F5F5EF">
        <tr>
            <td colspan="2">
                <table width="100%"  border="0" cellpadding="0" cellspacing="0" bgcolor="#B6DCEF">
                    <tr>
                        <td>&nbsp;</td>
                        <td>Importação de Documentos          </td>
                        <td><?php mn_field('button', 'ED', 'sysCloseWindow', 'Fechar Janela', '', '', '', '" onClick="window.close();'); ?></td>
                    </tr>
                </table></td>
        </tr>
        <tr>
            <td height="60"><img src="<?php echo $GLOBALS['GFX']; ?>import.png"></td>
            <td><strong>
<?php mn_field('file', 'ED', 'FILE', '', '20', '20', 'False', 'inputbox'); ?>
                </strong></td>
        </tr>
        <tr>
            <td>&nbsp;</td>
            <td><strong>
<?php mn_field('submit', 'ED', 'Upload', 'Salvar', '', '', 'False', 'inputbox'); ?>
                </strong></td>
        </tr>
    </table>
</div>
</form>